package cn.ecut.model;

import checkers.igj.quals.I;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

public class ScholarshipApply {
    private Integer id;
    private String number;
    private String province;
    private String city;
    private String county;
    private Integer household;
    private Integer poverty;
    private BigDecimal price_min;
    private BigDecimal Price_max;
    private String card;
    private String volunteerTime;
    private String certificate;
    private Integer grade;
    private String appExplain;
    private Integer sid;
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date applyTime;
    private Integer state;
    private Student student;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getNumber() {
        return number;
    }

    public void setNumber(String number) {
        this.number = number;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getCounty() {
        return county;
    }

    public void setCounty(String county) {
        this.county = county;
    }

    public Integer getHousehold() {
        return household;
    }

    public void setHousehold(Integer household) {
        this.household = household;
    }

    public Integer getPoverty() {
        return poverty;
    }

    public void setPoverty(Integer poverty) {
        this.poverty = poverty;
    }

    public BigDecimal getPrice_min() {
        return price_min;
    }

    public void setPrice_min(BigDecimal price_min) {
        this.price_min = price_min;
    }

    public BigDecimal getPrice_max() {
        return Price_max;
    }

    public void setPrice_max(BigDecimal getPrice_max) {
        this.Price_max = getPrice_max;
    }

    public String getCard() {
        return card;
    }

    public void setCard(String card) {
        this.card = card;
    }

    public String getVolunteerTime() {
        return volunteerTime;
    }

    public void setVolunteerTime(String volunteerTime) {
        this.volunteerTime = volunteerTime;
    }

    public String getCertificate() {
        return certificate;
    }

    public void setCertificate(String certificate) {
        this.certificate = certificate;
    }

    public Integer getGrade() {
        return grade;
    }

    public void setGrade(Integer grade) {
        this.grade = grade;
    }

    public String getAppExplain() {
        return appExplain;
    }

    public void setAppExplain(String appExplain) {
        this.appExplain = appExplain;
    }

    public Student getStudent() {
        return student;
    }

    public void setStudent(Student student) {
        this.student = student;
    }

    public Integer getSid() {
        return sid;
    }

    public void setSid(Integer sid) {
        this.sid = sid;
    }

    public Date getApplyTime() {
        return applyTime;
    }

    public void setApplyTime(Date applyTime) {
        this.applyTime = applyTime;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    @Override
    public String toString() {
        return "ScholarshipApply{" +
                "id=" + id +
                ", number='" + number + '\'' +
                ", province='" + province + '\'' +
                ", city='" + city + '\'' +
                ", county='" + county + '\'' +
                ", household=" + household +
                ", poverty=" + poverty +
                ", price_min=" + price_min +
                ", Price_max=" + Price_max +
                ", card='" + card + '\'' +
                ", volunteerTime='" + volunteerTime + '\'' +
                ", certificate='" + certificate + '\'' +
                ", grade=" + grade +
                ", appExplain='" + appExplain + '\'' +
                ", sid=" + sid +
                ", applyTime=" + applyTime +
                ", state=" + state +
                ", student=" + student +
                '}';
    }
}
